package com.weitu.environmental.abnormalDischarge.service.impl;

import com.weitu.environmental.abnormalDischarge.mapper.AbnormalDischargeMonthlyReportMapper;
import com.weitu.environmental.abnormalDischarge.service.AbnormalDischargeMonthlyReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author zhangqingxi 2017-05-03
 */
@Service
public class AbnormalDischargeMonthlyReportServiceImpl implements AbnormalDischargeMonthlyReportService {

    private final AbnormalDischargeMonthlyReportMapper abnormalDischargeMonthlyReportMapper;

    @Autowired
    public AbnormalDischargeMonthlyReportServiceImpl(AbnormalDischargeMonthlyReportMapper abnormalDischargeMonthlyReportMapper) {
        this.abnormalDischargeMonthlyReportMapper = abnormalDischargeMonthlyReportMapper;
    }

    @Override
    public List<Map> findByParam(Map paramMap) {
        return abnormalDischargeMonthlyReportMapper.findByParam(paramMap);
    }

    @Override
    public Integer findByParamCount(Map paramMap) {
        return abnormalDischargeMonthlyReportMapper.findByParamCount(paramMap);
    }


}
